#include<iostream>
#include<thread>

void printMsg004(const std::string& msg) {
	std::cout << msg << " " << std::endl;
}

int main004() {
	std::thread t1(printMsg004, "Thread 1");
	t1.detach();
	std::cout << "thread is detach" << std::endl;

	return 0;
}